<?php
/**
 * Free tokens experiment
 * @see http://173.45.224.86:9003/pcgsnwiki/index.php/Experiments#Free_Tokens_Per_Time
 */ 
class Nutri_Date_ShowDate
{

        public static function displayDateNews($dateToConvert)
        {
                $date = new Zend_Date($dateToConvert, Zend_Date::ISO_8601);
                $date->setOptions(array('format_type' => 'php'));
                $day = $date->toString('l d F Y', null, 'es');
                
                return $day;            
        }
        
        public static function displayDateMenu($dateToConvert)
        {
                $date = new Zend_Date($dateToConvert, Zend_Date::ISO_8601);
                $date->setOptions(array('format_type' => 'php'));
                $day = $date->toString('l d/m', null, 'es');
                
                return $day;            
        }
        
		public static function displayDayOfWeek()
        {
                $date = new Zend_Date();
                $date->setOptions(array('format_type' => 'php'));
                $day = $date->toString('D', null, 'es');
                
                return $day;            
        }
        
		public static function displayNumberOfMounth()
        {
                $date = new Zend_Date();
                $date->setOptions(array('format_type' => 'php'));
                $day = $date->toString('d', null, 'es');
                
                return $day;            
        }
}
